<?php

namespace GuanChanghu\Models;


use GuanChanghu\Models\Traits\Attribute\Facade as Attribute;
use GuanChanghu\Models\Traits\Change\Facade as Change;
use GuanChanghu\Models\Traits\Query\Facade as Query;

/**
 * @author 管昌虎
 * Class Pivot
 * @tag encryption free
 * @package GuanChanghu\Models
 * Created on 2023/4/15 21:36
 * Created by 管昌虎
 * Email guanchanghu626@163.com
 */
class Pivot extends \Illuminate\Database\Eloquent\Relations\Pivot
{
    use Attribute, Change, Query;

    /**
     * @var bool
     */
    public static $snakeAttributes = false;

    /***
     * booted
     */
    public static function booted()
    {
        parent::booted();

        static::observe(\GuanChanghu\Models\Observers\ModelObserver::class);
    }
}